.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
}

.inula-tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.inula-tooltip {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
}

.inula-tooltip-visible {
  opacity: 1;
  pointer-events: auto;
}

.inula-tooltip-top {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
}

.inula-tooltip-bottom {
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
}

.inula-tooltip-left {
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
}

.inula-tooltip-right {
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
}

.inula-tooltip-content {
  background: rgba(0,0,0,0.75);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  padding: 8px 12px;
  white-space: nowrap;
  position: relative;
}

.inula-tooltip-arrow {
  width: 0;
  height: 0;
  position: absolute;
}

.inula-tooltip-top .inula-tooltip-arrow {
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0,0,0,0.75);
}

.inula-tooltip-bottom .inula-tooltip-arrow {
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0,0,0,0.75);
}

.inula-tooltip-left .inula-tooltip-arrow {
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid rgba(0,0,0,0.75);
}

.inula-tooltip-right .inula-tooltip-arrow {
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid rgba(0,0,0,0.75);
} 